
import json

if __name__ == "__main__":
    
    with open("stock_pool_baostock.json", 'r') as load_f:
        stock_index = json.load(load_f)

    # print(stock_index)
    print(type(stock_index))

    '''
        使用时可通过字典 键的股票名称搜索对应的股票代码，代码如下：
    ''' 
    print(stock_index['股票']['平安银行'])